oschenk: added check if file argument is present