create file and directory