created file using close()