refined uploadAttachment method to get filename as an argument, bumped version to 0.0.7