Using the current remote to get the file path