Modified database retrival of filename - removed garbage text