add mode for new file
modify file location