Refine the file management module