Removing path information from added files