added filename info to params when opening a file is performed