public static Document read() {
        InputStream in = null;
        try {
            in = XmlReader.class.getClassLoader().getResourceAsStream(R.Constants.default_mapping_file);
            if(in == null ){
                in = new FileInputStream(System.getProperty("user.dir")+ File.separator+R.Constants.default_mapping_file);
            }
            SAXReader reader = new SAXReader();
            return reader.read(in);
        }catch (FileNotFoundException e){
            throw new RuntimeException(R.Constants.default_mapping_file+" was not found!");
        }
        catch (Exception e) {
            log.error(e);
            return null;
        }finally {
            IOUtils.close(in);
        }
    }