Initial implementation of createFile (#8)