single file -> dir processing