Fix missing curly braces
Delete detection of binary file