suppress notices and warnings and instead return the error inside the exception message

--HG--
branch : filesystem
make the localmedia filesystem more flexible

--HG--
branch : filesystem
do not expose directory information, only check for actual files

--HG--
branch : filesystem