Saving file to a right place