fixed timestamp issue; fixed too many open files issue