preg_quote correctly in case someone uses a pound sign in a file name (it could happen...)