class ModisProductReaderPlugIn implements ProductReaderPlugIn {

    static File getInputFile(Object input) {
        if (input instanceof String) {
            return new File((String) input);
        } else if (input instanceof File) {
            return (File) input;
        }
        return null;
    }

}