gem file modification