FS#178 fix, disable picrandom if file is attached