Check if .md file is empty

Script was throwing up errors when I inserted an empty .md file