Fixes #46
Better use of the file API.
The name of the relative paths now doesn't save the initial path separator, which can cause incongruencies in old catalogs.