Need to be careful with file descriptor use while checking codestyle