I don't beleive files or sandpaper do anything good to foamboard.
I cut the stuff with an Xacto knife and a metal straight edge. With great care and some spoiled pieces I can get fairly good results. I did one scratch built building using foam board rafters to obtain a gracefully curved pitched roof. I probably will stick to cardstock, basswood, and styrene for future projects.