removed second file argument