more file preview work