Script for file handling using excel