Added a bunch of filesystem stuff, resolving full pathnames