Why do you check the filename?  What other modes than these would people use to edit eruby?