public function delete($bean, $property) {

		// Delete file
		$path = APP_PATH . $property['directory']; // Prevent deleting files outside the upload path
		$file = APP_PATH . $bean->{ $property['name'] };
		if ( file_exists( $file ) && substr( $file, 0, strlen($path) ) == $path ) {
			unlink( $file );
		}

	}