Fix write dir redirection
Fix the issue where extant files were redirected into /write
Fix NPE (Closes #16)
Remove a val