Switching and filamentary conduction in non-volatile organic memories