support files and directories