file operation running in separate thread

Added few more test cases and file operation running in separate thread