Adding prefix to sub
adding check for empty memes file