File management method, file management apparatus, and a file management program