added config option and disabled file refresh by default