Ignore matlab temp files
Added multiple file type support to loop.m