file module: add symbolic mode support