Can now process files as well.