Corrected n_files