check_file_exists
Checks if the file exists and throws a FileNotFoundError exception that includes the route to the non-existing file.
- param file_name:
path to the HDF5 file
- type file_name:
str
- returns:
if the file does not exist, an error is raised with path to the non-existent file
- rtype:
FileNotFoundError