Test creating a new file