Ignore directories
Switch mode for writing files; add TODO
Remove unused string
Remove useless variable
Code cleanup
Remove unneeded permissions
Reword for accuracy