Update manage-files.php

Reset $file_id to avoid deleting wrong file.
Because public file are not assigned and don't have record in tbl_files_relations. And the while loop are not parsed and keep previous value of $file_id that refer to wrong line.