Fix return value when file is not found