Shorten paths and indicate that a file has been modified