Added file io thread