A file path and URL are changed into a relative path from an absolute path.