default folder set to /home/francesco-salix
fixed crash with file with no extension