updated file management