files_array may be empty