Implemented batch open files.