Re-factored code to improve performance

Updated bean file, FileOperations class to improve performance