process files if given.