add cwd to file paths

closed #19
closed #42