Fixed bug that occurs given a relative path and no outfile filenames