adding LOCAL_FILES support as the documentation says