Renaming files and moving DB files in db folder