These checks may fail if the file is not existing