A Java library to easily get the type of a file