make file extensions relative