Preparations for file renaming and removal functionality.