@@ -0,0 +1,1521 @@
+package com.miguelgaeta.media_picker;%0A%0Aimport android.os.Environment;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.util.UUID;%0A%0A@SuppressWarnings(%22UnusedDeclaration%22)%0Apublic class MediaPickerFile %7B%0A%0A    /**%0A     * Create a file in the devices external storage.%0A     *%0A     * @param directory Target directory.%0A     * @param name Target file name.%0A     * @param suffix Target file suffix.%0A     *%0A     * @return Created file.%0A     *%0A     * @throws IOException%0A     */%0A    private static File create(final String directory, final String name, final String suffix) throws IOException %7B%0A%0A        final File dir = new File(Environment.getExternalStorageDirectory() + File.separator + directory);%0A%0A        if (!dir.exists()) %7B%0A%0A            boolean result = dir.mkdirs();%0A%0A            if (!result) %7B%0A%0A                throw new IOException(%22Unable to create directory.%22);%0A            %7D%0A        %7D%0A%0A        return File.createTempFile(name, suffix, dir);%0A    %7D%0A%0A    /**%0A     * @see #create(String, String, String)%0A     */%0A    private static File create(final String directory, final String name) throws IOException %7B%0A%0A        return create(directory, name, null);%0A    %7D%0A%0A    /**%0A     * @see #create(String, String)%0A     */%0A    private static File create(final String directory) throws IOException %7B%0A%0A        return create(directory, UUID.randomUUID().toString());%0A    %7D%0A%0A    /**%0A     * @see #create(String)%0A     */%0A    private static File create() throws IOException %7B%0A%0A        return create(%22media_picker%22);%0A    %7D%0A%7D%0A

Add a file utility to create new files.