Ignore swap and object files
Made private functions static