try to get index file from current dir