Files are now properly opened.