fixed spacing?????????????? also added checks that subjects' files exist before trying to open them