Adding another parameter to conditions with the file name