filemode flag added