more options and file detect