Generate absolute path for files