getting the file from conf directory and patching it