Remove relative paths from files