Create file function added