'filepath' is not declared. [solved]
I get this error when I try to build/debug something 
Apparently Rebuild + Clean is a solution, but I'm a complete n00b and I don't know how.
@Jason Right click 'filepath' variable in the editor and click goto definition. Make it public.
Something like; public filepath as <type>