Allow single-file to be passed instead of a list