Fixed file creation bug. Added README