Works for new file