remove mutex in create tempFile