Committing changes for creating separate profile file and for saving
the file status in database.