files preview and print