leisure file-related functions, working on page editing