Resistive switching based on filaments in metal/PMMA/metal thin film devices