add FILE mode
add FILE mode