create file or directory