rm -- ----myfile
The “–” after rm prevents processing of more options, so everything after it will not be taken as option.