Method for new file