Create file mostly working.