scala program for parsing metadata from psd files