Implement DirExist and creating array with path to pictures