Modified Generation of Paths for Fileoperations, to always generate absolute paths.