Bugfix: Check if filename is actually inputed